import { radarChart } from './radarChart';

// 初始化雷达图
export const initRadarChart = () => {
const chart = echarts.init(radarChart.value);
const option = {
radar: {
indicator: [
{ name: '专业能力', max: 100 },
{ name: '通识能力', max: 100 },
{ name: '实践能力', max: 100 },
{ name: '创新能力', max: 100 },
{ name: '综合素质', max: 100 }
]
},
series: [{
type: 'radar',
data: [{ value: [85, 70, 90, 80, 65] }]
}]
};
chart.setOption(option);
};
